FIND_PATH(LZMA_INCLUDE_DIR lzma.h)
FIND_LIBRARY(LZMA_LIBRARY_RELEASE NAMES liblzma)
FIND_LIBRARY(LZMA_LIBRARY_DEBUG NAMES liblzmaD)
set(LZMA_LIBRARY ${LZMA_LIBRARY_RELEASE})
set(LZMA_LIBRARIES optimized ${LZMA_LIBRARY_RELEASE} debug ${LZMA_LIBRARY_DEBUG})
if (LZMA_INCLUDE_DIR AND LZMA_LIBRARY)
  set(LZMA_FOUND TRUE)
endif()
#include(FindPackageHandleStandardArgs)
#FIND_PACKAGE_HANDLE_STANDARD_ARGS(LibLZMA DEFAULT_MSG LZMA_INCLUDE_DIR LZMA_LIBRARY)
